package com.net.xpay.common.manager.stat;

import com.net.common.manager.DomainManager;
import com.net.xpay.common.domain.stat.CompanyDailyStat;
import com.net.xpay.common.model.CompanyDailyStatModel;

import java.time.LocalDate;
import java.util.List;


public interface CompanyDailyStatManager extends DomainManager<Long,CompanyDailyStat> {
    CompanyDailyStat findByDay(LocalDate day);

    CompanyDailyStat sumCompanyDailyStat(CompanyDailyStatModel model);

    CompanyDailyStat getByDay(LocalDate day);

    List<CompanyDailyStat> listAll();
}
